Flags for Setting Atomic Instruments
These flags specify details of initializing a part with an atomic instrument and are passed to the
MusicSetPartAtomicInstrument
function.
enum {
kSetAtomicInstKeepOriginalInstrument = 1 << 0,
kSetAtomicInstShareAcrossParts = 1 << 1,
kSetAtomicInstCallerTosses = 1 << 2,
kSetAtomicInstDontPreprocess = 1 << 7
};
Constant descriptions
-
kSetAtomicInstKeepOriginalInstrument
-
Keep original sample after expansion.
-
kSetAtomicInstShareAcrossParts
-
Remove the instrument when the application quits.
-
kSetAtomicInstCallerTosses
-
The caller isn't keeping a copy of the atomic instrument for later calls to
NASetAtomicInstrument
.
-
kSetAtomicInstDontPreprocess
-
Don't expand the sample. You would only set this bit if you know the instrument is digitally clean or you got it from a
MusicGetPartAtomicInstrument
call.
© 1997 Apple Computer, Inc.Previous | Chapter Top | Chapter Contents | Next